package com.streetpower.facade.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description:
 * @Author: lipeng
 * @CreateDate: 2019/5/12 17:34
 */
@Data
public class BaseEntity implements Serializable {

    @Id
    private Integer id;

    /**
     * 创建时间
     */
    @Column(name = "sys_Date")
    private Date createTime;

    /**
     * 创建人
     */
    @Column(name = "sys_user_id")
    private String createUserId;


    /**
     * 创建人
     */
    @Column(name = "sys_user_name")
    private String createUserName;

    /**
     * 删除标记
     */
    @Column(name = "mark_as_deleted")
    private boolean markAsDeleted;

}
